﻿<UserControl xmlns:my="clr-namespace:CustomerAssistant"  x:Class="CustomerAssistant.InfoTip"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="244" d:DesignWidth="421" Width="360" Height="275" MouseDown="UserControl_MouseDown" MouseMove="UserControl_MouseMove" MouseUp="UserControl_MouseUp" Loaded="UserControl_Loaded">

    <Grid x:Name="grid1">
        <Border BorderBrush="#FFCFF1FF" BorderThickness="2" CornerRadius="3" Name="border1" >
            <Canvas Height="36" HorizontalAlignment="Left" Name="canvas1" VerticalAlignment="Top" Width="360">
                <Canvas.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFCBF0FF" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Canvas.Background>
                <Image Name="image4" Stretch="None" Margin="15,7" Source="/CustomerAssistant;component/Resources/speaker.png" Opacity="1" />
                <TextBlock Text="提示" Margin="38,5" Name="txtTitle" FontWeight="Bold" FontSize="15"></TextBlock>
                <Image Height="25" Name="image2"   Stretch="None" VerticalAlignment="Top" Source="/CustomerAssistant;component/Resources/ninimize_2.png" Panel.ZIndex="100" MouseDown="image2_MouseDown" />
                <Image Height="25" Name="image3" Stretch="None" VerticalAlignment="Top" Source="/CustomerAssistant;component/Resources/delete_2.png" Panel.ZIndex="100" MouseDown="image3_MouseDown_1" />
            </Canvas>
        </Border>
    </Grid>
</UserControl>